package com.bj.dz;

import com.bj.dz.file.FileProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
//@EnableDiscoveryClient
//@EnableFeignClients
@EnableSwagger2
@MapperScan("com.bj.dz.mapper") //扫描的mapper
@EnableConfigurationProperties({FileProperties.class})
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
